// This file was automatically generated from friendsurveylist.soy.
// Please don't edit this file by hand.

goog.provide('esn.soy.friendSurveyList');

goog.require('soy');
goog.require('soy.StringBuilder');


esn.soy.friendSurveyList.table = function(opt_data, opt_sb) {
  var output = opt_sb || new soy.StringBuilder();
  output.append('<table class="esnfriendSurveyListTable"><tbody class="body"><tr class="header"><th style="display: none;"></th><th class="friendNameHeader">Resident\'s Name</th><th></th></tr></tbody></table>');
  return opt_sb ? '' : output.toString();
};


esn.soy.friendSurveyList.row = function(opt_data, opt_sb) {
  var output = opt_sb || new soy.StringBuilder();
  output.append('<tr class="esnfriendSurveyListRow"><td style="display: none;">', (opt_data.Friend['fb_id']) ? '<img src="https://graph.facebook.com/' + soy.$$escapeHtml(opt_data.Friend['fb_id']) + '/picture" width="35" height="35">' : '<img src="/static/images/default-friend-photo.gif" width="45" height="45">', '</td><td class="friendNameContainer"><div class="friendName">', soy.$$escapeHtml(opt_data.Friend['first_name']), ' ', soy.$$escapeHtml(opt_data.Friend['last_name']), '</div></td><td class="removeButton"></td></tr>');
  return opt_sb ? '' : output.toString();
};
